package fr.umlv.graph;

public class Edge {
	
	private final int start;
	private final int end;
	
	
	public Edge(int start, int end) {
		this.start = start;
		this.end = end;
	}
	
	public int getStart() {
		return start;
	}
	public int getEnd() {
		return end;
	}

	public String toStringDot() {
		return "\t" + start + " -> " + end + " [label = ];";
	}

	@Override
	public String toString() {
		return "Edge [start=" + start + ", end=" + end + "]";
	}
}
